<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <body>

        <ui:composition>

            <div id="stylized" class="myform">

                <div class="relato">
                    <table>
                        <tr>
                            <th>Nome:</th>
                            <td>#{RelatorioController.aluno.nome}</td>
                        </tr>
                        <tr>
                            <th>Identificador:</th>
                            <td>#{RelatorioController.aluno.identificador}</td>
                        </tr>
                    </table>
                </div>


                <h3>Desempenho Individual</h3>
                <h:panelGrid columns="2" border="1" rules="all">
                    <c:forEach items="#{RelatorioController.relatorioAluno}" var="relatorioTemp" varStatus="stat" >
                        <h:outputText value="#{relatorioTemp}" escape="false" />
                    </c:forEach>


                    <!--
                                        <h:outputText>Nome</h:outputText>
                                        <h:outputText>Lista 1</h:outputText>
                                        <h:outputText>Lista 3</h:outputText>
                                        <h:outputText>Nova Lista</h:outputText>
                                        <h:outputText>Desempenho</h:outputText>
                    
                                        <h:outputText value="{RelatorioController.aluno.nome}"></h:outputText>
                                        <h:outputText>75</h:outputText>
                                        <h:outputText>85</h:outputText>
                                        <h:outputText>80</h:outputText>
                                        <h:outputText>80</h:outputText>-->



                </h:panelGrid> 

                <br />
                <!--                <h:panelGrid columns="3" border="1" rules="all">
                
                                    <h:outputText>Ementa</h:outputText>
                                    <h:outputText>Disciplina</h:outputText>
                                    <h:outputText>%</h:outputText>
                
                                    <h:outputText>Ementa 1</h:outputText>
                                    <h:outputText>Portugues</h:outputText>
                                    <h:outputText>50%</h:outputText>
                
                                    <h:outputText>Ementa 2</h:outputText>
                                    <h:outputText>Portugues</h:outputText>
                                    <h:outputText>25%</h:outputText>
                
                                    <h:outputText>Nova Ementa</h:outputText>
                                    <h:outputText>Portugues</h:outputText>
                                    <h:outputText>25%</h:outputText>
                
                
                                </h:panelGrid> -->

                <br />


                <h:panelGrid columns="3" border="1" rules="all">
                    <c:forEach items="#{RelatorioController.conteudoAluno}" var="relatorioCTemp" varStatus="stat" >
                        <h:outputText value="#{relatorioCTemp}" escape="false" />
                    </c:forEach>
                </h:panelGrid> 
                <br />


                <p:pieChart value="#{RelatorioController.pieConteudoAluno}" legendPosition="w"  
                            title="Gráfico de Utilização do Conteúdo Para o Aluno" style="width:400px;height:300px" /> 

                <br />

                <p:barChart value="#{RelatorioController.categoryModel}" legendPosition="ne"  
                            title="Desempenho do aluno em relação aos conteudos" enhancedLegend="true" min="0" max="200" style="height:300px" />



                <!--                
                                <h:panelGrid columns="3" border="1" rules="all">
                
                
                
                
                                    <h:outputText>Conteudo</h:outputText>
                                    <h:outputText>%</h:outputText>
                                    <h:outputText>Aproveitamento</h:outputText>
                
                                    <h:outputText>Conteudo 1 de Portugues</h:outputText>
                                    <h:outputText>50%</h:outputText>
                                    <h:outputText>40%</h:outputText>
                
                                    <h:outputText>Conteúdo 2 de Portugues</h:outputText>
                                    <h:outputText>25%</h:outputText>
                                    <h:outputText>20%</h:outputText>
                
                                    <h:outputText>Novo Conteudo</h:outputText>
                                    <h:outputText>25%</h:outputText>
                                    <h:outputText>20%</h:outputText>
                
                
                                </h:panelGrid> -->

            </div>
        </ui:composition>

    </body>
</html>
